<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>jQuery Tablepager</title>
<meta http-equiv="language" content="da_DK">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/screen.css" type="text/css" media="screen, projection">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>!window.jQuery && document.write('<script src="http://code.jquery.com/jquery-1.4.2.min.js"><\/script>');</script>
<script src="tablepager.js"></script>
<script language="javascript" type="text/javascript">

$(document).ready(function(){

	$(".page").tablePager();

});

</script>

</head>
<body>

<div id="wrapper">
	<h1>jQuery's most simple TablerPager, now in v. 1.2</h1>
	
	<p><b>Why does the usual table pagers in jquery have to be so bloated? I don't know!</b> If you like me just need some paging of all your table data this plugin is just for you!</p>
	
	<h2>How to use</h2>
	<p>Its really simple!</p>
	<ul>
		<li>Download the lastest source from our <a href="http://code.google.com/p/jquery-tablepager/">google code</a> page</li>
		<li>Include the JS and CSS file in your ducument</li>
		<li>Add this code to your html head section
			<br />
			<pre class="code" style="width: 450px;margin-left:20px;margin-top:10px;padding:10px">
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot;&gt;
$(document).ready(function(){
	$(&quot;.page&quot;).tablePager();
});
&lt;/script&gt;</pre>
		</li>
	</ul>
	<p>Note: You need to create THEAD and TBODY sections in your tables to make it work!</p>

	<h2>Example</h2>	
	<table width="100%" cellspacing="0" cellpadding="5" class="page">
	<thead>
	<tr>
		<td>First name</td>
		<td>Middle name</td>
		<td>Last name</td>
	</tr>
	</thead>
	<tbody>
	<tr>
		<td>Fry</td>
		<td>J.</td>
		<td>Fry</td>
	</tr>
	<tr>
		<td>Hubert</td>
		<td>J.</td>
		<td>Farnswort</td>
	</tr>
	<tr>
		<td>Bender</td>
		<td>Bending</td>
		<td>Rodriguez</td>
	</tr>
	<tr>
		<td>Turanga </td>
		<td></td>
		<td>Leela</td>
	</tr>
	<tr>
		<td>Zoidberg</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>Hermes</td>
		<td></td>
		<td>Conrad</td>
	</tr>
	<tr>
		<td>Amy</td>
		<td></td>
		<td>Wong</td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	<tr>
		<td>You get the idea ?</td>
		<td></td>
		<td></td>
	</tr>
	</tbody>
	</table>
</div>

</body>
</html>
